//Geometry.java
//Demostrates the use of an assigment statement to change the value stored in a variable.
public class Geometry{
//Print the number of sides of an several geometric shapes.
  public static void main(String []args){
    int sides = 7; /*declaration with initialization*/
    System.out.println("A heptagon has " + sides +" sides. ");

    sides = 10; //asssigtment statement
    System.out.println("A decagon has " + sides + " sides. ");
    
    sides = 12;
    System.out.println("A dodecagon has " + sides + " sides. ");
  }
}
